﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;

namespace BaocaoNPC
{
    public class Pglobal
    {
        public static string strMa_dviqly;
        public static string strMa_dviqlyDnhap;
        public static string strTen_dviqly;
        public static string strTen_dangnhap;
        public static string strTen_dviqlyDnhap;
        public static string strCap_tren;
        public static int iThang;
        public static int iNam;
        public static long intUserID;

        public static string checkadministrator;

        public static string MaHoaMatKhau(string pass)
        {
            //MD5CryptoServiceProvider myMD5 = new MD5CryptoServiceProvider();
            //byte[] myPass = System.Text.Encoding.UTF8.GetBytes(pass);
            //myPass = myMD5.ComputeHash(myPass);

            //StringBuilder s = new StringBuilder();
            //foreach (byte p in myPass)
            //{
            //    s.Append(p.ToString("x").ToLower());
            //}
            //return s.ToString();
            return pass;
        }
    }
}
